<template>
  <div class="center">
    <div class="center-div">
      <span>
        {{dataInfo.dutyShiftLeader}}
      </span>
      <span>
        {{dataInfo.dayNightShift}}
      </span>
      <span>
        {{dataInfo.nightShift}}
      </span>
    </div>
  </div>
</template>

<script>
export default {
  name: "CalendarCenter",
  props: ["dataInfo","currentDate"],
  data() {
    return {
      dataInfo: {},
    };
  },
  methods: {
    handleClick(){
      this.$emit('showDialog',this.currentDate)
    },
  },
};
</script>

<style scoped>
.center {
  width: 100%;
  height: 100%;
}
.center-div {
  font-size: 12px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: #000;
  margin-bottom: 6px;
  text-align: left;
}
span {
  color: #000;
  line-height: 17px;
  display: block;
}
</style>
